package cn.wolfcode.crm.domain;

import cn.wolfcode.crm.util.JsonResult;
import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

@Setter
@Getter
public class Role {
    public static final String ROLE_SN_MARKET = "Market";
    public static final String ROLE_SN_MARKET_MANGER = "Market_Manger";

    private Long id;
    private String name;
    private String sn;
    // 关联属性
    private List<Permission> permissions = new ArrayList<>();
}